Gas pressure is caused by the constant movement of gas molecules in all directions. When these molecules collide with the walls of their container, they exert a force that is measured as pressure. The pressure of a gas is directly proportional to the number of gas molecules present, their speed, and the temperature of the gas. This is described by the ideal gas law, which states that pressure is equal to the number of molecules times the temperature times a constant value.